package ru.efimmatytsin.tweeterella.services;

import ru.efimmatytsin.tweeterella.entities.User;

import java.math.BigInteger;

/**
 * Created by Efim Matytsin on 14.02.15.
 */

public interface UserService {

    public <T> T getUser(BigInteger id,Class<T> tClass);

    public void saveUser(User user);

    public <T> T getUser(String username,Class<T> tClass);

}
